package com.youlai.boot.modules.product.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "商品视图对象")
@Data
public class ProductVO {
    @Schema(description = "商品ID")
    private Long id;

    @Schema(description = "商品名称")
    private String name;

    @Schema(description = "封面图")
    private String coverPic;

    @Schema(description = "商品描述")
    private String description;

    @Schema(description = "价格描述")
    private String priceDesc;

    @Schema(description = "商品标签")
    private String tags;

    @Schema(description = "状态(0:下架 1:上架)")
    private Integer status;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "商户ID")
    private Long merchantId;

    @Schema(description = "商户名称")
    private String merchantName;

    @Schema(description = "品牌ID")
    private Long brandId;

    @Schema(description = "品牌名称")
    private String brandName;

    @Schema(description = "国家代码列表")
    private List<String> countryCodes;
}
